package routers

import (
	"gvb_server/api"
)

/////////////////////////////////////////////
/// 将每一个路由都新建一个文件
/// 系统路由
////////////////////////////////////////////

func (router RouterGroup) SettingsRouter() {
	settingsApi := api.ApiGroupApp.SettingsApi
	router.GET("settings/site", settingsApi.SettingsSiteInfoView)
	router.PUT("settings/site", settingsApi.SettingsSiteUpdateView)
	router.GET("settings/:name", settingsApi.SettingsInfoView)
	router.PUT("settings/:name", settingsApi.SettingsInfoUpdateView)
}
